import 'package:deepseek_client/dto/GeminiLocalModelDTO.dart';
import 'package:dio/dio.dart';
import 'package:retrofit/retrofit.dart';
part 'GeminiClient.g.dart';

@RestApi(baseUrl: 'https://generativelanguage.googleapis.com')
abstract class GeminiClient {
  factory GeminiClient(Dio dio, {String? baseUrl}) = _GeminiClient;




  ///获取本地模型列表
  @GET("/v1beta/models?key={key}")
  @DioResponseType(ResponseType.json)
  Future<GeminiLocalModelDto> getLocalModels(@Path() String key);

}
